#include "goods.h"

Goods::Goods()
{

}

Goods::Goods(int id, QString name, int number)
{
    this->id = id;
    this->name = name;
    this->number = number;
}
int Goods::getId()
{
    return id;
}
QString Goods::getName()
{
    return name;
}
int Goods::getNumber()
{
    return number;
}
void Goods::setId(int id)
{
    this->id = id;
}
void Goods::setName(QString name)
{
    this->name = name;
}
void Goods::setNumber(int number)
{
    this->number = number;
}
